package com.newer.service.lmpl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.newer.mapper.MaterialMapper;
import com.newer.domain.Material;
import com.newer.service.MaterialService;
@Service
public class MaterialServiceImpl extends ServiceImpl<MaterialMapper, Material> implements MaterialService{

    @Autowired
    private MaterialMapper materialMapper;

    @Override
    public Page<Material> selectMaterial(Page page,String name) {

        return this.materialMapper.selectMaterial(page,name);
    }
}
